package Model_Layer;
/**
 * Contains the information to create an item.
 * 
 * @author (gruppe 5)
 */
public class Product
{
	private String name, countryOfOrigin, size, color, type, description, fabric, calibre;
	private double purchasePrice, salesPrice, rentPrice;
	private int proID, minStock, stock;
	private Supplier supplier;
	
	/**
	 * Constructor
	 */
	public Product()
	{
		
	}
	
	public Product(String name, String countryOfOrigin, String size, String color, String type, String description, String fabric, String calibre,
			double purchasePrice, double salesPrice, double rentPrice,int proID, int minStock, int stock)
	{
		this.name = name;
		this.countryOfOrigin = countryOfOrigin;
		this.size = size;
		this.color = color;
		this.type = type;
		this.description = description;
		this.fabric = fabric;
		this.calibre = calibre;
		this.purchasePrice = purchasePrice;
		this.salesPrice = salesPrice;
		this.rentPrice = rentPrice;
		this.proID = proID;
		this.minStock = minStock;
		this.stock = stock;
	}
	
	// set/get methods
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getName()
	{
		return name;
	}
	
	public void setCountryOfOrigin(String countryOfOrigin)
	{
		this.countryOfOrigin = countryOfOrigin;
	}
	
	public String getCountryOfOrigin()
	{
		return countryOfOrigin;
	}
	
	public void setSize(String size)
	{
		this.size = size;
	}
	
	public String getSize()
	{
		return size;
	}
	
	public void setColor(String color)
	{
		this.color = color;
	}
	
	public String getColor()
	{
		return color;
	}
	
	public void setType(String type)
	{
		this.type = type;
	}
	
	public String getType()
	{
		return type;
	}
	
	public void setDescription(String description)
	{
		this.description = description;
	}
	
	public String getDescription()
	{
		return description;
	}
	
	public void setFabric(String fabric)
	{
		this.fabric = fabric;
	}
	
	public String getFabric()
	{
		return fabric;
	}
	
	public void setCalibre(String calibre)
	{
		this.calibre = calibre;
	}
	
	public String getCalibre()
	{
		return calibre;
	}
	
	public void setPurchasePrice(double purchasePrice)
	{
		this.purchasePrice = purchasePrice;
	}
	
	public double getPurchasePrice()
	{
		return purchasePrice;
	}
	
	public void setSalesPrice(double salesPrice)
	{
		this.salesPrice = salesPrice;
	}
	
	public double getSalesPrice()
	{
		return salesPrice;
	}
	
	public void setRentPrice(double rentPrice)
	{
		this.rentPrice = rentPrice;
	}
	
	public double getRentPrice()
	{
		return rentPrice;
	}
	
	public void setProID(int proID)
	{
		this.proID = proID;
	}
	
	public int getProid()
	{
		return proID;
	}
	
	public void setSupplier(Supplier sup)
	{
		this.supplier = sup;
	}
	
	public Supplier getSupplier()
	{
		return supplier;
	}
	
	public void setMinStock(int minStock)
	{
		this.minStock = minStock;
	}
	
	public int getMinStock()
	{
		return minStock;
	}
	
	public void setStock(int stock)
	{
		this.stock = stock;
	}
	
	public int getStock()
	{
		return stock;
	}

}
